package merchant

import "crmeb-common/global"

// MerchantPrint
type MerchantPrint struct {
	global.BaseModel
	MerId int32 `json:"merId" gorm:"column=mer_id;comment:商户id"`

	PrintType int32 `json:"printType" gorm:"column=print_type;comment:打印机类型: 0=易联云，1=飞蛾云"`

	PrintName string `json:"printName" gorm:"column=print_name;comment:易联云打印机名称"`

	PrintYlyAppid string `json:"printYlyAppid" gorm:"column=print_yly_appid;comment:易联云appid"`

	PrintYlyUserid string `json:"printYlyUserid" gorm:"column=print_yly_userid;comment:易联云用户id"`

	PrintYlySec string `json:"printYlySec" gorm:"column=print_yly_sec;comment:易联云密钥"`

	PrintYlyMerchineNo string `json:"printYlyMerchineNo" gorm:"column=print_yly_merchine_no;comment:易联云终端号"`

	PrintFeName string `json:"printFeName" gorm:"column=print_fe_name;comment:飞蛾云打印机名称"`

	PrintFeUser string `json:"printFeUser" gorm:"column=print_fe_user;comment:飞蛾云打印机User"`

	PrintFeUkey string `json:"printFeUkey" gorm:"column=print_fe_ukey;comment:飞蛾云打印机UKey"`

	PrintFeSn string `json:"printFeSn" gorm:"column=print_fe_sn;comment:飞蛾云打印机SN"`

	Status int32 `json:"status" gorm:"column=status;comment:打印开关 0=关闭，1=开启"`
}
